home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / e / misc.txt / 000204_jaltman@gmail.com_Fri Nov 20 17:06:30 2009.msg < prev    next >
Internet Message Format  |  2018-01-01  |  2KB

  1. Path: reader1.panix.com!panix!bloom-beacon.mit.edu!4.24.21.218.MISMATCH!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!q14g2000vbi.googlegroups.com!not-for-mail
  2. From: Jeffrey Altman <jaltman@gmail.com>
  3. Newsgroups: comp.protocols.kermit.misc
  4. Subject: Re: How does Kermit 95 initialize \v(desktop)
  5. Date: Tue, 27 Oct 2009 06:44:09 -0700 (PDT)
  6. Organization: http://groups.google.com
  7. Lines: 21
  8. Message-ID: <7666f050-bc18-4a71-8c33-b920c13bdede@q14g2000vbi.googlegroups.com>
  9. References: <3e027b96-6700-4194-b611-b11ab121f064@t11g2000prh.googlegroups.com>
  10. NNTP-Posting-Host: 75.193.128.249
  11. Mime-Version: 1.0
  12. Content-Type: text/plain; charset=ISO-8859-1
  13. Content-Transfer-Encoding: quoted-printable
  14. X-Trace: posting.google.com 1256651049 16902 127.0.0.1 (27 Oct 2009 13:44:09 GMT)
  15. X-Complaints-To: groups-abuse@google.com
  16. NNTP-Posting-Date: Tue, 27 Oct 2009 13:44:09 +0000 (UTC)
  17. Complaints-To: groups-abuse@google.com
  18. Injection-Info: q14g2000vbi.googlegroups.com; posting-host=75.193.128.249; 
  19.     posting-account=3XULYwoAAAB2uEZBxnJbb2G2z0fQ0m9P
  20. User-Agent: G2/1.0
  21. X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.3) 
  22.     Gecko/20090824 Firefox/3.5.3 GTB5 (.NET CLR 3.5.30729),gzip(gfe),gzip(gfe)
  23. Xref: panix comp.protocols.kermit.misc:15819
  24.  
  25. On Sep 27, 11:10=A0am, Mark Sapiro <slash_dev_slash_null_2...@yahoo.com>
  26. wrote:
  27. > how is \v(desktop) initialized?
  28.  
  29. The value isn't initialized.  It is queried each time \v(desktop) is
  30. evaluated.  The source of the value is:
  31.  
  32. HKCU\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell
  33. Folders
  34. "Desktop"
  35.  
  36. If the value is of type REG_EXPAND_SZ, then the result is expanded
  37. using ExpandEnvironmentStrings().
  38.  
  39. Finally, a '/ is appended to the end of the string and all '\'
  40. characters are converted to '/'.
  41.  
  42. Its not magic.  Its C code. Look at the sources and you can see
  43. exactly what it does.
  44.  
  45. Jeffrey Altman